

uniform mat4 projection_matrix;
uniform mat4 modelview_matrix;

 
// local position (before transformation)
in vec3 lPos;
// color 
in vec3 color;

void main()
{
	gl_Position =  projection_matrix * modelview_matrix * vec4(lPos,1);
	gl_FrontColor = vec4(color,1);
}